package com.changhai.diabetes.servlet;

import java.io.IOException;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.log4j.Logger;

public class ExceptionProcessor extends HttpServlet {
	private static final long serialVersionUID = -7816260867852569266L;

	protected String errPage;
	final static Logger log = Logger.getLogger(ExceptionProcessor.class);

	protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
		return;
	}

 

	@Override
	public void init(ServletConfig config) throws ServletException {
		super.init(config);
		this.errPage = config.getInitParameter("errPage");
	}

}
